package clickhouse.service;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

/**
 * 模板定制接口
 * @param <T>
 */
public interface ITemplatePreparedStatement<T> {
    /**
     * jdbc模板方法的定制接口
     * @param statement
     * @return
     * @throws SQLException
     */
    T doOperation(PreparedStatement statement) throws SQLException;
}
